import pytest
import unittest

from common import loc_set,send_mail

if __name__ == '__main__':
    loc_set()
    pytest.main(['./','-s','--html=baogao.html'])
    send_mail(['log.txt','baogao.html'])